package com.etc.entity;

import org.springframework.stereotype.Component;


public class Students {
	private int sid;
	private String studentname;
	private String studentsex;
	private int studentage;

	public Students(String studentname, String studentsex, int studentage) {
		super();
		this.studentname = studentname;
		this.studentsex = studentsex;
		this.studentage = studentage;
	}

	public Students() {
		super();
	}

	public Students(int sid, String studentname, String studentsex, int studentage) {
		super();
		this.sid = sid;
		this.studentname = studentname;
		this.studentsex = studentsex;
		this.studentage = studentage;
	}

	public int getSid() {
		return sid;
	}

	public void setSid(int sid) {
		this.sid = sid;
	}

	public String getStudentname() {
		return studentname;
	}

	public void setStudentname(String studentname) {
		this.studentname = studentname;
	}

	public String getStudentsex() {
		return studentsex;
	}

	public void setStudentsex(String studentsex) {
		this.studentsex = studentsex;
	}

	public int getStudentage() {
		return studentage;
	}

	public void setStudentage(int studentage) {
		this.studentage = studentage;
	}

	@Override
	public String toString() {
		return "Students [sid=" + sid + ", studentname=" + studentname + ", studentsex=" + studentsex + ", studentage="
				+ studentage + "]";
	}

}
